<?php
    /**
     * Created by PhpStorm.
     * User: zgh
     * Date: 2021-08-04
     * Time: 15:19
     */

    namespace app\common\model;


    use think\Model;

    class ConfigModel extends Model
    {
        protected $autoWriteTimestamp = true;

        const tableName = 'config';

        public function getCreateTimeAttr($value)
        {
            return date("Y-m-d H:i:s", $value);
        }


        public function getUpdateTimeAttr($value)
        {
            return date("Y-m-d H:i:s", $value);
        }



    }